package com.design.facdiff.abs;

public class AbstractFactoryDemo {
    public static void main(String[] args) {
        DeviceAbstractFactory ledTvStereoAudioFactory = new LEDTVStereoAudioFactory();

        TV ledTv = ledTvStereoAudioFactory.createTV();
        Audio stereoAudio = ledTvStereoAudioFactory.createAudio();

        ledTv.produce();
        stereoAudio.produce();
    }
}
